<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .item{
            background-color: brown;
            width: 100px;
            height: 2%;
        }
        .container{
            width: 500px;
            height: 500px;
            display: grid;
            grid-template-columns: 120px 120px 120px;
            /* grid-template-columns: repeat(3, 120px); */
            /* grid-template-columns: 80px auto 80px; */
            /* grid-template-columns: 22% 22% auto; */
            grid-template-rows: 120px 120px 120px;
            /* grid-template-rows: repeat(3, 1fr); */
            /* grid-template-rows: 80px auto 120px; */
            /* grid-template-rows: 22% auto 22%; */
            grid-row-gap: 1px;
            grid-column-gap: 9px;

        }
    </style>
</head>
<body>
    <div class="container">
        <div class="item item-1"></div>
        <div class="item item-2"></div>
        <div class="item item-3"></div>
        <div class="item item-1"></div>
        <div class="item item-2"></div>
        <div class="item item-3"></div>
        <div class="item item-1"></div>
        <div class="item item-2"></div>
        <div class="item item-3"></div>
    </div>
</body>
</html>